Lua Api: Control Over Ext.envelope.editor Attach/detach/display

hi, there appears to be no control over the enlarged envelope editor in the API. I would dearly love to cycle through these regular instrument envelope editor modes, attach and detach them on the fly with the API, and thus be able to better incorporate these really neat (and large!) envelope bits onto my workflow.

i already tried to save the ext.editor (attached, not detached) to global view preset, but they are not saved… disk_browser_expanded is saved, ext_env_editor"expanded" is not saved.