Anxiety while pregnant?

I'm 24 weeks and for the last week or so I've had some pretty bad anxiety. It usually comes on at bed time. Last night it was really bad. I'm not sure if I was dreaming or what, but I woke up a couple times with that "bad feeling" feeling, on the verge of tears, and my heart racing. When I woke up I told my husband I was afraid of him dying (??? That's why I'm maybe thinking it was set off by some dreams?). Has anyone else noticed an increase in anxiety?