adding new callbacks

- when form is loaded
- when saving
- when saved

also fixed a bug with required