ah, figured out according to this: Adding a form to a plugin - #3 by Johani
had to use setupComponent()