The dome lamps will come on when you open a door or the midgate, if equipped, and will turn off when all doors or midgate are closed.
You can also turn the dome lamps on by turning the thumbwheel, located next to the exterior lamp control, all the way up. In this position, the dome lamps will remain on whether a door is opened or closed.