onAfterSave should return a boolean