Gremlins playing with my sunroof!

I have a 2001 chrysler condcorde approx. 2 yrs started having troubles opening/closing the sunroof so I just closed it and left it alone. The other day it popped itself open. I messed with the switch and started to try to take the headliner down when it closed itself(keys not in the ignition) a couple days later I parked it outside for a couple hours and when I got in the sunroof had opened up fully(again no keys in the ignition and the switch that opens/closes it was not attached) How can I fix this? HELP!!