added ability to pass options to the bootstrap modal

the bootstrap modal has a few options like backdrop, keyboard and remote. Those can now be passed to the dialog function as options.modalOpts.