A removable pan can have a different care method from fixed electrical parts and coated surfaces. Treating the whole compartment as one washable assembly is unsafe.
What the observation means
Liquid should not be sprayed indiscriminately into the appliance. A pan's dishwasher permission does not extend to rails, handles or the grill itself.
A useful next step
Allow safe cooling and follow the accessory-specific instructions. Report residue on inaccessible hot parts rather than attempting to reach behind guards. Do not run a high-power cycle as a substitute for cleaning accumulated fat, and do not mix cleaners to remove stubborn deposits.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.