fix(modal): ie8 fix after $modal rewrite