Fix for modals in IE7