Remove unnecessary form for file uploads, and just hide the input element