I think this must all be in the subconscious - you have a half-formed thought of "Ooh maybe this is happening!" and it fully manifests itself in your dream.

Not trying to put you down or anything Hyu, it's still fascinating and I'd love to be able to experience it for myself. I'm just a very science minded guy.