Since the function parameter operates on the Field...
# tornadofx
e
Since the function parameter operates on the Fieldset it wasn't easy to access the stage, so closing it was not trivial. Now it's much nicer, and works as you would expect.