Dimmer Switch
If both your original dimmer and your new dimmer have two black wires and a green wire, it doesn't matter which black wire connects to power or which black wire connects to the light. I assumed that you connected the two black wires of the new dimmer to the wires that connected to the original dimmer and that the new dimmer does not work. Let us know if this is what you did.
If both your original dimmer and your new dimmer have two black wires and a green wire, it doesn't matter which black wire connects to power or which black wire connects to the light. I assumed that you connected the two black wires of the new dimmer to the wires that connected to the original dimmer and that the new dimmer does not work. Let us know if this is what you did.