Hi,
The best approach would be to move the data outside the component dialog and access it through other means. You can still manipulate the data and return it in whatever response structure you need. For example, you could store the data in Content Fragments, an ACS Common List, or even a static ...