Does anyone get the feeling of hoping their dreaming while dreaming? It tends to happen to me when I'm having an unpleasant dream (go figure? ). At the very end of the dream while still dreaming I will get the thought in my head that I hope I'm dreaming, after a couple seconds I then wake up and this thought carries over and I then find myself hoping that it was a dream. Whenever this happens I remember most of the dream very easily and in great detail.

I don't think it has anything to do with lucid dreaming because it always happens after a dream has been going on for a while, and it definitely just feels like the end of the dream.
Does anybody else experience this?