I think it might be the dimmer. It comes with a black, red, red/white, and green wire. My previous switch for these lights just had the 2 black going in and a red going in. When I hooked up the new dimmer, I just hooked up in following fashion:
Red wire of dimmer to black in wall
Black wire of...