Ui class - get opened popMenus

It would be great to have :
ui.currentPopMenu or something like this.
My intention is to be able to inject my own options to the menu.
For example I want to add the option “Expose” to the parameter context menu to create and bind a parameter with the same name on the parent.

+1 on this; btw I’ve added a button to the TD UI where you can drag and drop parameters that get promoted to the parent and bound: 02. FNS_Toolbar · function-store/FunctionStore_tools Wiki · GitHub