Modals and field classes

Addresses #1 and #2

I corrected some errors I made on my first PR. I noticed you took care of the tabbed_form.php field classes. Here is the rest. I will work on the rest of the issues on separate branches / PRs.

Let me know if there is anything you don't agree with in this PR.