Saving webview when switching between VSTs

Is there a way to make the webview persist after the audioplugin loses focus? Basically what happens is that I load the URL, and when I select a different VST, then go back, it reloads the URL. I’m not sure how to make it persist.

iiuc, you’re making a webview object in you editor.
it’s being destructed when editor is closed? or just by losing focus?