make modal tests work in IE7