fix #759 EscapeOnModalAndNonModalTest fail in IE7