fixed issue prompts were being repeated when uploading more than one file