When the record form model changes, update the edit layer nId and nModel.