I realized that the water spilled out when the timer got stuck in the cycle. The dishwasher didn't know when it had enough water, and couldn't proceed. I found that the float and float dome, which are supposed to give the "full" signal, were encrusted with minerals and muck. Replacing these two simple parts has made a world of difference--the wash cycle moves right along, and we've had no more floods!