Any trigger that uses the stack remains on the stack even if the source of the trigger is removed.
402.6. Once activated or triggered, an ability exists independently of its source as an ability on the stack. Destruction or removal of the source after that time won't affect the ability. Note that some abilities cause a source to do something (for example, "Prodigal Sorcerer deals 1 damage to target creature or player") rather than the ability doing anything directly. In these cases, any activated or triggered ability that references information about the source because the effect needs to be divided checks that information when the ability is put onto the stack. Otherwise, it will check that information when it resolves. In both instances, if the source is no longer in play, its last known information is used.