Fix false negatives if user doesn't click on confirm dialog fast enough