Fixed IE 10 Modal bug where clicking close in popup, an extra alert "Do
you want to close the tab?" was getting called.