dishwasher door

the door on this dishwasher keeps popping open. Replaced the latch, still have the problem. Was told to replace door hinges. anyone know how to do this