Update modal.js

A user can now selectively decide to disable the close feature on the background of a modal.