Fix dismissal of OAuth sign-in dialog