Simple dialog class for JavaFX, mimics swing's OptionPane