dog guards baby's sleep