adding dimmer widget