Yep, your cervix is dilating. Once the cervix starts to open, the plug falls out because the cervix is now too big for it to...plug

Which is all very cool!