Its the experience of you becoming lucid and you forget that your dreams are solely created by your own mind. So in a way your mind DOES know whats about to happen before it does in a dream because it has to before it can create that event. I believe that is what you are experiencing