page skipping and nsDialogs
Hi, I've set up my pages as followed:

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "license_new.txt"
Page custom InstType
Page custom ExpressInst
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

Later in the code, I have a custom page (InstType) that has 2 buttons and the user can choose how they want to install, and based on their selection, I want to skip the next page (ExpressInst):

${NSD_CreateButton} 10 10 50u 40u "Express"
Pop $BUTTON1
GetFunctionAddress $0 OnClick1
nsDialogs::OnClick /NOUNLOAD $BUTTON1 $0

${NSD_CreateButton} 10 100 50u 40u "Custom"
Pop $BUTTON2
GetFunctionAddress $0 OnClick2
nsDialogs::OnClick /NOUNLOAD $BUTTON2 $0

I know that using Abort works without using nsDialogs, but how can I use it with OnClick? Thanks.