added validations to dog forms