model.isDirty is no longer volatile; added session.isDirty