Update bootbox.js

Check shown event was fired by dialog element
Merge pull request #268 from alexkozloff/v3.x

Update bootbox.js