The same thing happens to me all the time. As soon as I am going to find something out or get where I was headed or meet the person I was planning on meeting, I wake up.