backdrop and keyboard support

Added support for bootstrap modal options backdrop and keyboard, which
can prevent the modal to close on click or escape.