Head light issue

Circuit breaker is built into the headlight switch and is self resetting most likely the headlight switch but also check for voltage drop thru the dimmer switch.

Brian