Yeah i've been there, I know that I'll forget about it completely by the time I wake up though, so I make an effort to scribble down some words before I go back to sleep. I have a DJ right by my bed stand so I don't have to get up. Even a few words can trigger your memory in the morning, you don't necessarily have to write down the whole thing at first.