Product review (5 stars): Check the Dishwasher Timer!!!!
The drain solenoid on the original motor had seized up and the seals on the plastic housing around the drain valve were leaking, so it was cheaper to buy this new motor vs just getting the drain solenoid and a new set of seals.

After running it for the first time i noticed that after the drain cycle the latch would not return to the closed position and when the water valve opened the water was just being drained. I ran the dishwasher several times and it would randomly stay open during different drain cycles. I thought the motor was bad but i wanted to make sure before returning it so I ordered the dishwasher timer to make sure there was nothing wrong with the timer. (The website I ordered it from would allow me to return the timer for a full refund if it didn't fix my problem) Once I installed the timer and ran the dishwasher again the problem was gone and it runs like new.

So in conclusion it turns out that my timer had gone bad and was keeping the drain solenoid on longer than it should on the old motor. Which caused the solenoid to over heat and start warping the seal that connects it to the valve causing it to leak and over time all the water landing on the solenoid caused it to rust and seize up and stop working all together.