exit popup fix