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