Finally got the Geometry Nodes modifier UI showing correctly in a pop up with Python thanks to the new 'is_input_visible' and 'is_input_used' methods added by Alex Tkachyov.
projects.blender.org/blender/blen...
Still can't draw regular modifiers completely correctly.
#b3d #Blender3D #bpy