modal Dialog
abstract fun <T> modalDialog(initializer: Dialog.Initializer<T>.() -> UiElement): T?
Content copied to clipboard
Display a modal dialog. It is always user-closeable.
Return
The dialog result, or null if the dialog was cancelled.
Parameters
initializer
The initializer for the dialog.