Files uploading duplicates

I’ve had 2 experiences today where one filed was uploaded in duplicate. Different data sets, one was in a modal, the other in line edit. I had to go back and delete one of the files each time.