Sounds like you were right on the verge of hitting dream state.
It is an encouraging sign, try to not be afraid next time. Re assure yourself it's all a natural progression to becoming lucid.