Fixing the styles of the dialog box