now disposing of the connection dialog immediately after it is no longer of use.