GE dishwasher will not turn off water and it continuously fills until it floods out

After starting a new wash cycle, it will work as expected for a while and then water will start running out of the front door. I originally thought it was an issue with the door gasket but that has been changed and the issue still occurs. The corner gaskets are good as well. I have checked and cleaned the float which still looks and works as expected. I have checked the drain hose and there is no blockage and the drain cycle seems to be working as expected. If the wash cycle is stopped and the door is opened, there will be several inches of standing water and my believe is the level rises until it goes out of the door vent. After a wash and rinse cycle, the inlet water continues to flow. What do you believe to be the cause? I was thinking the water inlet valve was bad? Or possibly the flood switch? Your expertise is greatly needed. Thanks for you time ahead of time.

Here are your parts
Parts for GE GSD500D-03AW Dishwasher - AppliancePartsPros.com
[COLOR=“Blue”]
After a wash and rinse cycle, the inlet water continues to flow. What do you believe to be the cause? I was thinking the water inlet valve was bad?[/COLOR]
If you mean that the motor is off and water still flows then I also think it is probably the valve.
The only way to confirm this is to measure the voltage across the valve. If it is 0 volts and water flows then the valve is not closing correctly.
Messing with water and electricity is a dangerous endeavor so I would just replace the valve.

[COLOR=“Blue”]Or possibly the flood switch?[/COLOR]
Once the water level gets too high the flood switch should kill power to the valve as it is wired in series with the valve.
You said it is nice and clean and float stem works OK.
You could hold the stem up so that the switch is not activated then start a cycle. If you do not get any water then I would stay that the float switch is OK.

In any case it should not even be part of a normal cycle unless there is a problem in the unit as it is just a safety device, at least that is how it works on most units.