Dental work, safe?!..

Ok so I never thought about whether it would be safe or not to get dental work done! I'm supposed to be getting a filling in the morning, just wondering if anyone else has had anything done?.. 
I'm 26 weeks and 3 days x