It's a mystery that's for sure. But as an old boss of mine always said, "Did ya check for grounds." Possibly the dome lights are only getting a path to ground through some thing that is being turned on with the ignition. I know it's a long shot but easy enough to check.