leaky dishwasher

Leaks at bottom right hand side of door. It appears to leak only during the second clean cycle. Replace gasket to no avail.Checked float switch appears to be working properly. Water shut off valve appears to be ok, when I disconnect power to washer the valve shuts instantly ( leaky valve?). How much water should there be in washer during the various cycles?