resize
fix for deleting connection dialog appearing twice