modalDialog

abstract fun <T> modalDialog(initializer: Dialog.Initializer<T>.() -> UiElement): T?

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.