So, are you saying you are replacing the bottom switch which I presume has three wires in it, red, blue and yellow?
If so, and provided there is not another dimmer (as Spark 123 suggested) then wire it up the same as the top switch. I.e., if yellow (say) is common (squiggly connection) make...