Dialog.setVisible() still needs work