add a willOpen hook for bb_modal and some small jshint fixes
Merge pull request #790 from onepercentclub/feature/willopen-modal

Add a willOpen hook for bb_modal