If you use it as storage, I would want to make sure that it is installed correctly with a looped drain hose, preferably into a p trap. Especially if it doesn’t get run often. Otherwise, sewer gasses are going to come back up through the drain and whatever you have sitting in there is just going to bathe in funk.
In a perfect world yes, but with dishwashers specifically, I like to have both. If the dishwasher has ever been run as a dishwasher, then there are always going to be chucks of food waste sitting in low spots of the drain hose. Without a water barrier from the loop it basically turns the drain hose into a mini sewer as the food waste decays. It’s much smaller in scale, mind you, but you can still end up with some pretty serious funk.