Modal(caption: String? = null, closeButton: Boolean = true, size: MODALSIZE? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf())
closeButton - determines if Close button is visible
animation - determines if animations are used
escape - determines if dialog can be closed with Esc key
classes - a set of CSS class names
Constructor