some UI changes for dialog box