Dogs and pregnancy ?

Can dogs sense you’re going to go into labor ? My dog has been attached to me even more these last 2 days.