The current switch has two buttons. Do you want the dimmer to control both outputs?
You remove the wires by pressing the small buttons on the front of the switch.
Brown and white goes into L - you can put two wires in one hole.
Blue and/or red (depending on what you want to control) in the hole with the wave.