Add in all the UI Workflow Hooks to have the correct front end behavior

Includes a number of JS changes, templates, and handlers to call the workflow api instead of complex, hard-coded logic.