validate before edit or remove with inflector