Added the dialog box