hiding connection dialogs on attachement