fix(modal): opening a modal should not change default options

Closes #935