This happened to me a few nights ago.
I had a dream that involved a story, right? (Don't really remember the story).
Anyway, at the end of the story, I guess my brain decided "Yup ok, stories over, wake up.", but of course I was still sleeping.
But since I had that thought, I realized I was dreaming!

What was weird is that this belief that "The stories over, nothing else but to wake up now." overpowered my belief that I was conscious.
So for about 4 seconds while my brain was pondering this contradiction I just stood there, idly.
Conscious but unable to think, I guess.

In the end my brain decided to force myself to wake up and I suddenly did...

Has this happened to anyone else while LDing - are there any ways to solve it?