Our system is: an open dishwasher can accept new dirty dishes.
So if the dishwasher is closed, it's either cleaning (put dirty dishes on the counter) or it's done cleaning. And when you open the closed dishwasher you immediately must transfer all clean dishes to the cabinets. And then it's able to accept new dirty dishes.
Newer dishwashers tend to automatically pop the door ajar to help dry contents. I go with that and tend to leave a clean dishwasher ajar. Also helps isolate stinky food items in a closed washer (I've never understood intentionally piling dirty things on the counter, or worse like my wife does, wet in the sink. I do it temporarily while lazy, but I consider that laziness not staging.)
Our system is: an open dishwasher can accept new dirty dishes.
So if the dishwasher is closed, it's either cleaning (put dirty dishes on the counter) or it's done cleaning. And when you open the closed dishwasher you immediately must transfer all clean dishes to the cabinets. And then it's able to accept new dirty dishes.