This happens to me a lot. Only now, after many dozens of times I realized, that when I thought I woke up, I actually didn't. The dream fades away, I'm in darkness, but I'm still dreaming. Or not in darkness.

If you think about this idea often, you will start to notice when that happens and you can make yourself enter another LD.