Here are some options:
* He/She said open wide: This works if the context makes it clear who the dentist is.
* They said open wide: This works if the dentist's gender is unknown or if you want to use a gender-neutral pronoun.
* The dentist instructed me to open wide: This is a more formal way to phrase it, but it avoids using a pronoun entirely.
Ultimately, the best way to replace the phrase depends on the specific situation and the tone you want to convey.