EXIT DIALOG instruction

The EXIT DIALOG statement terminates the DIALOG block without any further control block execution. Program flow resumes at the instruction following the END DIALOG keywords. Blocks such as AFTER DIALOG will not be executed.

   ON ACTION quit 
       EXIT DIALOG

When leaving the DIALOG instruction, all form items used by the dialog will be disabled until another interactive statement takes control.