rm popup_dialog when close.