Handles the keyDown event for the dialogs
Immediately closes any dialog instances with the given class. The dialog callback for each instance will be called with the special buttonId DIALOG_CANCELED (note: callback is run asynchronously).
Show typical modal dialog
Show Modal Dialog using Template
Show Select Dialog (Dropdown-type)