Hook forms

Adds `hook_forms` to actually get all these modals to work right and not just submit the first instance of the form.