Dishwasher door wont stay closed

the dishwasher door will not stay closed. we replaced the latch and the latch assembly but that did not seem to do the trick. do you have any other ideas of why this door will not stay closed?

Make sure the door hinges are not dislodged and both dish racks are in the right position.

Here are the breakdown diagrams and Replacement parts for WHIRLPOOL KUDP01FLSS3 | AppliancePartsPros.com

Gene.