aaron: added onBeforeLoad
Merge branch 'master' of github.com:aaroncraigongithub/modality