Congratulations on your lucid dream, it may have been short, but it was still lucid.

Some people (myself included) have gotten lucid dreams by failing a WILD. Instead of WILDing into the dream, we already know its a dream as soon as it starts. You're lucky to have it happen often.