override PopUpForm closing event