fixing bug where modal won't really disappear in IE8