close after edit