Deep Space Nine - T'rul

When determining the number of defence dice you roll, does the attacker or defender modify the number first?
I would assume it would work the same as the modify defence dice step of the combat phase, where the attacker modifies before the defender.
I would assume it would work the same as the modify defence dice step of the combat phase, where the attacker modifies before the defender.