Releasing the detergent
The detergent door is held shut by a small latch. Depending on the model, it's released by a wax motor that softens with heat, a bi-metal trigger, or a solenoid fired by the control board.
Timing matters: if the door opens too early the detergent gets washed away during the rinse; if it opens too late the dishes don't get clean.