optimize reconnect dialog style