Dishwasher keeps shutting off

Our dishwasher has been installed without a proper countertop mounting plate causing the door be misaligned. During heavy loads where dishes are jostling around, this misalignment sometimes causes a sensor to think the door is open, and it shuts down the dishwasher completely. I uninstall the dishwasher, build a new mounting plate, adjust the feet, and reinstall it correctly. ($13.86)