Refactor modal validation logic into controller.

* Make validation logic more angular using watches of models.  Get rid of most
  of the jquery DOM manipulation (yay!).