Reset the file upload form when modal closes.
Merge pull request #2863 from bp323/uploadReset

Interrupting a file upload makes it impossible to upload again