Add speed controls and tests to see if a successful connection is made before the dialog box is shown