Unidentified component on heating element
It may be a thermostat but more likely an over-temperature safety cutout as the dishwasher probably has a separate variable thermostat for the various programs. 

It is odd that that unit has burnt as it should not switch in normal operation - only in a fault. It may be inadequately rated for the job or, more likely, inadequately rated for the temperature of its environment.