fixed jframe closing -- dispose