I use the ModalEditor to create a chart from ag-grid. What I can't figure out is how to destroy the ModalEditor once I've exported the svg chart. Enabling feature 'done' provides a use and close button but any interaction with the grid immediately pops the ModalEditor back.
Your issue is very specific and we can't debug it without your code. Could you provide us with a simplified online demo of your app (codesandbox, jsfiddle)?