Probably the most significant thing you could do to avoid future melted lens covers would be to make sure the dome lamp always goes off when you shut the doors. And don't leave the door's open while working on your car. Damage to the lens from bulb heat is almost certainly a matter of many minutes or hours, not the brief time needed to enter your car.