create Dialog
inline fun createDialog(title: String = "", style: Dialog.DialogStyle = Styles.defaultDialog, addCloseButton: Boolean = false, closeOnBack: Boolean = true, constructor: (title: String, style: Dialog.DialogStyle) -> Dialog = { t, s -> Dialog(t, s) }, configurator: Table.(Dialog) -> Unit): Dialog
Creates a dialog using constructor and passes it to the configurator lambda for it to configure the dialog.
The created dialog can then be shown using the Dialog.show function.
Parameters
constructor
creates an instance of Dialog using the providen title and style, by default it creates an arc.scene.ui.Dialog.
configurator
configures the created dialog, adding ui elements, etc. Its receiver is the dialog's container.
add Close Button
whether a "close" button should be added to Dialog.buttons.
close On Back
whether the dialog should close when