showConfirm

fun showConfirm(text: String, minWidth: Float = 200.0f, no: () -> Unit? = null, yes: () -> Unit? = null)

Shows a confirmation dialog and runs yes or no when an option is selected.