fix the dialog size