created new dialog box