A JOptionPane to improve control flow.