If the first or second modes are chosen multiple times, each of those modes represents a separate damage-dealing event. For example, if your opponent casts Fiery Confluence choosing the second mode three times, and you control Guardian Seraph (a creature with the ability "If a source an opponent controls would deal damage to you, prevent 1 of that damage"), you'll be dealt a total of 3 damage.