fixed connection lost dialog box