Added dialog box for uploading local files