To those who simply say rehome the dogs, for those of us who share our lives with dogs, they're family. Yes, my grandchildren are higher in the order of things than my dogs. That's why my home is set up so when the 4 under 5 year olds are around, the dogs are safely and happily contained in the utility. Their beds are in there, they are fed and sleep in there and go in whenever I don't want them getting in the way of visitors, including the children.
I would never re-home a dog unless the dog posed a danger. I've never owned a dog like that and if I did, I'd be considering euthanasia rather than re-homing. I'm involved in a specific breed rescue charity. It's a real cause of despair that some people get a fluffy puppy, only to realise they grow into dogs, they do shed fur, they do need training and demand a lot of time and money. Often times they've not had great experiences so need considerable effort in foster care before they can be adopted safely. So "rehome the dog", isn't the simple solution some may believe it to be. It's also not something any responsible dog owner would do unless no alternative existed. In this case, there are many options available to the OP.