Add close function to popup add form