it’s called unprofessional behavior.
Refusing to dress modestly, talking to people at an inappropriate distance are two things that come to mind.
I'm not a doctor but every dental hygienist I've ever dealt with was wearing scrubs. Do you have some reason to believe she was "refusing to dress modestly"?