small changes to dialog box