fixes #2107

Fixed the close button issue on IE9.

Please check.