debug the fact that uploaded file names stayed in the modal after uploading