fixed resizing connect dialog