Updates bootstrap modal functionality for new twbs