add closeHandler in onPopup not onreset