made a confirm dialog box for export script