feat(modal): expose options object
fix(affix): make IE9 happy (fixes #565)