Abstract: A system controlling an access opening in a body of a vehicle includes a door arranged to selectively open and close a first portion of the opening. A latch is mounted on the door for latching the door to the body and releasing the door to selectively open and close the first portion of the opening. A device is mounted on the door and is configured to be retracted by an actuator before the door is opened and to be protracted by the actuator when the door is closed. A detent is mounted on the device to latch the device to the door when the device is protracted and to release the device before the device is retracted. A motor is mounted on the first door and is configured to operate at least two of the latch, the detent, and the actuator.