Make absolutely sure you have a good ground for the screw right under the dimmer switch.
I circled it in black.
There should be NO paint between the switch plate and the dash frame.
Now is the time to test that before it is in the car.
Jules