fix($modal): double apply error when passed in an isolated scope

See #581