add a type to upload form cancel button, prevent the form to be submitted. closes #95