Dynamic Operator Popup Sample - working :)

It needs an updated version of the D578, but it should work now.
Note: the functionality to actually create polygons is yet to be added.