Added the concept of a custom form to RunwayControllerForm, made the
TermTree use the new behavior, and fixed a bug I was having resulting
from JQuery dialogs not destroying themselves when closed.