Fix recurrence of issue with OAuth dialog dismissal

Addresses bounce-back of issue #57