alert
fun alert(parentStage: Stage, title: String, heading: String = title, message: String, alertType: AlertType = AlertType.NONE, buttonTypes: List<ButtonType>, callback: (ButtonType?) -> Unit)
Builds, and shows an AlertDialog.
Parameters
callback
Called when a button is pressed.