Changing flow to keep pop-up authorize dialog box at init