dialog
fun ControlManager.dialog(vararg classes: String, dismissable: Boolean = true, init: Div.() -> Unit): Dialog(source)
Shows a modal dialog that init builds, over a backdrop that covers the window: the keyboard focus moves into the dialog and stays in it, escape closes it, and a click on the backdrop closes it when dismissable is set. The backdrop is a dialog-backdrop, the dialog a dialog with classes.