Never leave a dog alone with a child and always give a dog a place it can go when stressed, so it has an out.
Dogs are jealous creatures.
They get very jealous of the attention the human gives to other dogs and the baby.
I see this all the time with our Chihuahuas.
The difference is that the Chihuahua can not kill me. A pitbull could.