dome light came on and now it won't turn off.
Check your door latches, one might just be dirty/corroded or it failed. Your car thinks one of the doors are open. I would spray some WD-40 in the car door latches, one at a time to see if you can get the light to go out.
Search Pontiac G6 Questions
Pontiac G6 Experts