I’m so sorry you were subjected to such blatant sexual harassment. That dentist should be reported to whatever licensing board manages his profession.
I’ve been really fortunate so far with medical providers, but then I’ve transitioned from female to male, and I also live in (relatively) trans-friendly San Francisco. I still fear making appointments with any new people though. I just today finally made an appointment with an X-ray specialist my dentist referred me to nearly a year ago. I didn’t bring up my trans status on the phone and I hope not to have to when I get there either, but as I’m frequently misgendered I won’t be surprised if it comes up.