I'm developing my CBT, basically I have a document with fields that are populated with information from my database, I'm doing this with PHP's 3DOCXTYPE, however I need it right after the documents are edited with the data to open a dialog to the generated document.
How can I do this?