The joke is a pun.  'Brushing off' someone means to be disregarding them or ignoring them due to something else having their attention.  A dentist may 'brush' a patient's teeth with flouride or some other teeth cleaner.
My dentist seems distracted , I think he was brushing me off .