Here's the relevant sections of my code:
Page custom custom_PAGE ;Custom page
Function custom_PAGE
!insertmacro MUI_HEADER_TEXT "$(SCR_EXISTS_MSG_TITLE)" ""
nsDialogs::Create 1018
Pop $Dialog
nsDialogs::Show
FunctionEnd
1 posts
Page custom custom_PAGE ;Custom page
Function custom_PAGE
!insertmacro MUI_HEADER_TEXT "$(SCR_EXISTS_MSG_TITLE)" ""
nsDialogs::Create 1018
Pop $Dialog
nsDialogs::Show
FunctionEnd