Update modal.js to handle backdrop issue in bootstrap 3.3.1

To work with bootstrap 3.3.1. Ref #2970