Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
rich - determines if text can contain HTML code
animation - determines if animations are used
cancelVisible - determines if Cancel button is visible
noCallback - a function called after closing window with No button
yesCallback - a function called after closing window with Yes button
Constructor