The motor is the biggest and most expensive part to the dishwasher. So with that in mind, How old is the unit? If new or fairly new, replace the motor. If old or even looking old I would suggest you price a new unit before you have this one repaired.
The Local Plumber
Tustin, California http://www.TheLocalPlumber.com