WARNING: This page is about a different car, the 2006 Chrysler PT Cruiser. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: SUNROOF CONTROL SWITCH
Courtesy of DAIMLERCHRYSLER CORP.
Using a flat blade tool, release switch from the headliner.
Disconnect the wire connector (2) from the control switch (1).