Are you sure the dialog has the right parent window? An
SSCCE would still help. In this case, all the SSCCE would need is:
- a main JFrame
- with a button
- that creates a first modal dialog when clicked
- which contains a button
- that creates the second modal dialog when clicked