Added autoheight function when adding bimsie server in dialog