I recently learned that you should add detergent for the pre-wash rinse as well. May dishwashers have a separate pocket next to the detergent pocket, often there isn't even a lid on it or the lid has openings so the detergent falls out as soon as you close the door. If they don't have the symbolic pocket you can just pour some extra detergent anywhere, like just spill some outside the main pocket or pour it into the bottom.
This allows the pre-wash cycle to get rid of most of the grease and stuff before the main cycle so the main cycle is more effective and the water is cleaner so the final rinse works better too.