fixes UploadDialogTest timeout