I own and manage rental homes, most of which have dish washers. 25 years int he business, leaks just aren't usually a thing.
There are 4 possible sources of a leak:
First, the water supply, if the line breaks or the washer at either end goes no pan is going to contain it. Never had one go, we always replace the supply line when we replace the unit.
Second, the water drain. The discharge is getting pumped out at a fairly rapid pace. it's got hose clamps at either end. If the hose comes off the pan will not contain the mess. We occasionally find a small drip at a worm clamp upon installation, fix it and move on.
Third, the plumbing bits under. Depending on the brand there may be a hose or tube that moves water form a drain to a pump, and then there is the pump itself, never had one leak.
Fourth, door seal. if this is bad a pan under isn't going to catch it, it comes out the front, they rarely fail and we replace the unit.
Only the supply line would be an active leak when not in use. anything else would be obvious when in use and well, stop using it.