fix(modal): Added support for bootstrap 3 (fixed)

This is a fix of #804 which will be closed shortly.  This is a branch against the most recent master so the @isiv568's fixes will merge with it.