the end of the record edit