1070585: GUI no longer locks on connection test. Adds cancel button.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1070585

Would it be clearer to just have a close() and a cancel() handler? That would avoid
the check for okButton in close().