Intermittent Courtesy Lights on 2001 Mercedes-Benz SLK320

Open door, interior lights come on, close door, lights may or may not go off or go off then as we're driving they may go on and then off again. Sometimes when leaving car and closing door(s) interior lights may or may not go out. Door switches and light switches do not turn off?? Any thoughts on cause?

Asked by for the 2001 Mercedes-Benz SLK320
This sounds like a door switch or a control module issue. I would start by checking the door switches, does it occur when opening or closing one door in particular? Or all the doors?