fix firefox download attribute : need to be placed in dom

Hello
Downloading a file added to an item did not worked on my firefox

this commit would solve this issue

Hope this help