adjust dialog box