Disconnect the power supply from the dishwasher by turning off the power to your kitchen's circuit breaker.
Open the dishwasher door and lower it all the way. Locate the door latch directly at the top front of the dishwasher.
Loosen the screw on the door latch keeper, using a screwdriver, and then adjust the door later.
Tighten the screw on the door latch, then shut the dishwasher door to see if the adjustment works.
Open the dishwasher door again, if you suspect the latch may be broken. Remove the screw from the door latch keeper.
Lift up and remove the door latch keeper from the dishwasher. Inspect the door latch to see if it is broken and needs to be replaced.
Place the door latch back on the top front of the dishwasher, and then reinsert the screws into the latch.
Close the dishwasher door and reconnect the power supply to the dishwasher from the circuit breaker.