2013 Hyundai Elantra GT Electrical Issues + Water Intrusion

Coworkers car that I’m trying to help fix - another mechanic diagnosed it as a bad alternator and bad battery, that didn’t resolve the issues. The issues: low beams don’t work, interior lights don’t work, air bag light comes on, right rear tail light doesn’t work, sunroof doesn’t work, climate controls intermittent, radio doesn’t work. After a visual inspection and info found water had been leaking in from a bad seal on the top right corner of the windshield, these issues are intermittent and would come back after it rains or going through the car wash, I knew something had to have been getting wet. Passenger side foot well area, there’s two connectors that go into the lower A pillar and there’s an airbag module I assume above that, and apparently three relays up there too. From what I can tell only the two connectors are getting wet, the module looks dry, and I haven’t got eyes on the relays. I’ve got some wire diagrams but they’re not very helpful. Wondering what’s tied into these components that affects all these systems. Or if I have multiple issues. We’ll be getting the leak addressed but I want to fix the electrical issues too. Dialectric grease on the two connectors kind of helped for now, after blowing the water out. But some things are still not working right. What are the three relays behind the glove box?