Removed WindowListener from confirmation class