refactor generic form creation; add to tutorial init pane