feat(modal): allow global override of modal options
test(modal): add tests for global options