Show an "About" dialog with application information.
Resolves when the user closes the dialog.
Show a simple informational alert with a dismiss button.
Resolves when the user dismisses the dialog.
Show a confirmation dialog with confirm and cancel buttons.
true if the user confirmed, false otherwise.
Show an open-file dialog powered by UIFileBrowser.
The selected file(s), or null if cancelled.
Show a prompt dialog with a text input.
The entered string, or null if cancelled.
Show a save-file dialog powered by UIFileBrowser with a file-name input.
The directory and file name, or null if cancelled.
Service for showing common application dialogs — alert, confirm, prompt, open-file, save-file, and about.
Each method opens a modal dialog and returns a
Promisethat resolves when the user closes it. The service delegates to ModalService for the underlying dialog lifecycle.Example