Add validation to editing animal