making a warningmessage when trying to create a dog ehen you already have one