The oscilloscope measures the voltage betwen it's ground clip and probe regardless of the rest of the circuitry. Think of it as being like normal test meter probes, wherever you put them, the meter measures the voltage across those points. The isolation transformer is there because on most (if not all) oscilloscopes, the ground clip is directly joined to the Earth pin in the power plug. If you ran the dimmer without the isolating transformer, the incoming AC power wires would be shorted to ground through the oscilloscope and damage would occur.
AC from socket --- Dimmer circuit --- 'Scope ground clip --- scope probe cable --- chassis of scope --- power cable --- Earth on power socket ----> Bang!
If you Earth any single point after the isolating transformer no damage is caused, the remainder of the circuit 'floats' around the ground point.
Brian.