BUG Fixing missing </div> and </button> in UploadField_uploadtemplate

The pull request does what the title says :)