Handle the record save.