Completed the 'upload a file' dialog.