My dishwasher literally doesn't have a pre-rinse cycle, the first wash is the main one with the powder, so I get to avoid this whole conundrum! By which I mean, I do quickly wash them by hand if there's any obvious gunk, and no one would realistically tell me not to.
To those curious, it's this countertop one: https://www.midea.co.il/product/mdwmt030sw-w-il (couldn't find a product page in any other language)
The compartment for the detergent has no lid, so the powder drops as soon as you close it.
It also does not have anywhere to put rinse aid, but a bottle of some was included when I bought it new. Great attention to details.