Fixed possible cross-thread issue with the reviewboard login dialog

Returning to the same context after creating a patch.