Added exit button for popup pre 3.0