exit popup with timer cycle