tune dialog size