Old, but a little workaround can be this: edit template file itemform.php edit "addAttachmentButton" button's id and associate a new snippet of javascript to new id. This is an example of javascript: Hope helpful. M.
More