Closes the topmost currently open dialog, if one is open.
Checks if a modal is currently open.
true if a modal dialog is currently open, otherwise false.
Shows a modal dialog.
If stackModal is true, the modal will be shown on top of the current modal.
If a value for stackModal is not provided, opening a new modal will close
any others currently being shown for backwards compatibility.
Class used to manage modal state.
Accessible on the
appobject viaapp.modalproperty.