dishwasher leak

Our (Maytag) dishwasher is leaking out the bottom of the door. Water appears to be getting into the door via a failed gasket on the soap dish latch. So, I got a new gasket.
The gasket encircles the latch arm. No problem there. But, what's not clear is how it seals to the door. The gasket has a flange, but it's pretty flexible. I feel like I'm just missing something. Is some sort of adhesive used?
TIA, George
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.