You choose the target when Lightning Rift’s ability is put on the stack, but you choose whether to pay the mana as the ability resolves. Once you make that choice, no player may take actions until the damage is dealt and the ability has finished resolving.