I created the modal YES/NO JDialog(Lets call it Dialog 1 ): it works until it is closed. After closing - the Dialog from where this was called is responding