angular-ui/bootstrap — pull request #1149 by scamden (2013-10-09 18:25:15+00:00)
Title: fix(modal): don't modify default options on open

this fix just copies the default options before extending. previously the default options would actually be modified each time a modal is open which leads to problems if you use different sets of options on different modals.