Update modal_pane.js

Updated to work in Bootstrap 3.0.0