He's replacing the switch becasue it broke
Unless the old dimmer switch was a 2-way dimmer switch in which case it would need to be replaced with another 2-way dimmer switch. On the assumption that it was wired as 2-way switching.
I am trying to ascertain why he would have three cables at...