enabled the save functionality on the addAnimal box