The ABS light came on and the Brake light too. on 2006 Hyundai Sonata

When the lights came on the radio went off and the headlights dimmed and the car felt like it has lost power. You could hear a click in the center console and this happened when I applied the brakes. I let it sit for the rest of the day and in the evening when I went to drive the car all of the problems had disappeared. It has been sitting at the Hyundai dealer for 3 days and they cannot duplicate the problem.

Asked by for the 2006 Hyundai Sonata
It sounds like it has an intermittent charging system issue. Check the battery cables, battery, fuses, connections and the alternator.