My dogs don't get on the bed.They sleep at the bottom or the side of the bed.
They have a look at me a few times in the night by putting their front paws on the bed and they patrol the house a couple of times.
If a disturbance happens eg a taxi going to another house Andy is up like a shot with Peter on his tail. I don't think they can dial 999 yet but no house has ever been burgled since they have been built in 1948. The dogs are doing a very good job.