HTML Form in context menu

I’m looking for a way to display a regular HTML form in a context menu. When a user right clicks an object, a form will be displayed. When they close out the form, its contents will get converted to JSON and attached to the object. I am aware of Data Inspector, but it is not exactly what I am looking for.

Thanks

Context menus can be implemented by HTML: GoJS Context Menus -- Northwoods Software

Please read GoJS HTML Interaction -- Northwoods Software, especially GoJS HTML Interaction -- Northwoods Software.