in his opinion it was a highly developed form of what was commonly referred to as lucid dreaming , the experience of knowing that you are dreaming while you are actually in a dream and the ability to exert some control over the dreamscape .