My dog is now responding to commands to stop him barking at the window. But I've noticed that he starts these really loud short barks just before he falls asleep and isn't distracted by the usual things that work. Is there any way of settling him down, so that he is calmer before sleep? If he was a baby I'd rock him to sleep!!