Fixing popups for Bootstrap 3.