Product review (5 stars): DIY says Electronics repair tech
ive done a few of these as we have some rentals... Dont even have to take the dishwasher out.. just have a shop/wet vac handy and suck out 1) the drain line, and then 2) keep it close while disconnecting the clamp on the pump drain hose... squeeze the tab (look for it, easy to find) and twist the motor a bit and it will come free.. vac up the small amount of h2o , lube the new oring/gasket with vaseline (no more problematic than ky, but the accepted lubricant for o-rings) and twist in place.. connect the plug now  and then the hose, then squeeze the clamp and reinstall.. You should be good to go!!