Create a new document from plugin activity