append the hiddenFileInput to document.body will make the clickable not work if use with modal dialog, eg: jQuery UI dialog with modal:true

Fix it by insertBefore the dropzone element itself which should be displayable in the modal dialog form.