Fixed issue #8178: Upload file is broken in 2.05
Fixed issue #8028: File upload dialogue window can't be styled (partial)
Dev: can replace doFileUpload() js function by own function in template.js