Finish popup.