How to respond when something floods inside home
Water damage isn't easy to deal with, here are the steps off the top of my head:


Shutoff the water
Get the water out, via floor drains, buckets, submersible pump, or a shop vac. I'd recommend the shop vac for being a fairly handy tool everyone should own.
Dry the area, and remove anything damaged by the water. Use fans, open windows, and/or dehumidifiers to dry it out. I would completely remove carpeting, drywall, 
fiberglass insulation, finishing woodwork (trim), and probably plywood/OSB that has absorbed water. Appliances, duct work, and utility lines should also be inspected.
Clean and treat the area to prevent mold. This means bleach and other mold killers.
Replace anything that's been damaged.


As for the flooding dishwasher, make sure that the float sensor in the bottom of the dishwasher is always moving freely, and avoid running it when you're going to be away. Objects can get lodged under this float, preventing the dishwasher from filling. If something ever holds the float down, then it won't stop filling since the float is indicating that there isn't any water in the bottom.