Once you’ve announced that you’re casting this spell, players can’t take any actions until you’ve finished doing so. Notably, opponents can’t try to remove your commander to change how many modes you may choose.

Artwork
Loading artwork…
Will of the Mardu
Tarkir: Dragonstorm Commander · #17 · EN
Nonfoil—Foil—
Card rules
Choose one. If you control a commander as you cast this spell, you may choose both instead.
• Create a number of 1/1 red Warrior creature tokens equal to the number of creatures target player controls.
• Will of the Mardu deals damage to target creature equal to the number of creatures you control.
Rare · Illustrated by Tuan Duong Chu
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Whether or not you control a commander is determined only once, as you choose the modes for this spell. If you somehow lose control of that commander before you finish casting the spell (perhaps because you sacrifice it to activate a mana ability), it won’t change the number of modes chosen.
The commander you control doesn’t have to be your commander.