dismiss [with <return_value>] Applies to global
The dismiss command dismisses a popup window that has been displayed using the popup command. One dismiss command is required for each popup command issued.
The dismiss command can carry a single parameter, which returns a value in it to the handler from which popup was issued.
The dismiss command has no effect on a window not created with the popup command.
The dismiss command cannot be used within an openCard handler.
The following button handler could be added to an OK button on a card that serves as a dialog box. When clicked, the button dismisses the dialog box, returning a value it obtains from a text field (where the user might have typed text in response to a prompt, such as "Enter a new name for this card:").
dismiss with field "Response"
This text has been mechanically extracted from the Oracle Media Objects 22.214.171.124 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.