adding new callbacks

- when form is loaded
- when saving
- when saved

also fixed a couple bugs and tossed in css classes for bootstrap support