By default, use document root rather than current selection's context when add()ing elements. Fixes #7853.
Attach a file by drag & drop or click to upload