Both click and submit were triggered. We're only interested in the click event so call preventDefault.
Attach a file by drag & drop or click to upload