Fix bug with modals inside tabbed arrays with bootstrap2 theme.