How to replace the latch of the Amana ADB2500AWS dishwasher

I ordered the latch but am worrying about how to replace it. The old one fell out before I could see how it was attached.

The door latch mounts with the two screws. When you’ll receive the new part you will see how it goes.

Gene.