Add DnD support for generation of documents