adding methods and events to the bcmodal plugin
bcmodal plugin working branching to expand