Only activate stacked modal if there already is another modal

Don't stack modals if you call the same modal again.