Turn off the dishwasher breaker in your home's service panel.
Open the dishwasher door, and remove the screws on the perimeter of the inner door panel, securing the inner panel to the door. Lift the inner door panel to gain access to the interior of the control panel.
Note the proper installation location of the wires connected to the door latch switches, and then remove the wires from the switches by pulling them straight off of the terminals using pliers.
Remove the door latch assembly mounting screws, and then remove the assembly from the top of the door.
Remove the two switches, as well as the door handle from the old latch, and discard the latch. To release the door handle, lift the two tabs, securing it into the latch using a small flat-head screwdriver
Snap the two switches into the new latch. Snap the door handle into the new latch.
Place the new latch assembly into the control panel, and re-install the mounting screws to secure it into position.
Re-install the inner door panel, and replace the screws that secure the panel to the door.
Close the dishwasher door, and then restore the dishwasher's power source.