Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
closeButton - determines if Close button is visible
animation - determines if animations are used
centered - determines if modal dialog is vertically centered
scrollable - determines if modal dialog content is scrollable
escape - determines if dialog can be closed with Esc key
classes - a set of CSS class names
init - an initializer extension function
Constructor