Close JDialog at new game start