Wire burned smell

Hi my dishwasher was working and suddenly start to smell like wires burning, when I opened it there was black smoke comming from inside.

The buttons on the top of the door (cycles, etc) are not working, means the dishwasher is not starting at all.
I disconnect the plug, and let it rest.

What should I replace?

Thanks

Marco (305-333-3420)

Here is your parts breakdown
Replacement parts for Whirlpool KUDI01FLSS2 UNDERCOUNTER DISHWASHER | AppliancePartsPros.com

You are going to have to locate what burned up.
If a part went bad often it will also blow the control board.
It may not be worth fixing depending on the damage.