Bootstrap 3 modals compatibility