beginPause: "Main Dialog" comment: "Select a button" clicked = endPause: "Ok", "Apply", "Cancel", 1, 3 exitScript()