fixed upload confirm flag

this fixes the upload confirm flag for multiple file uploads