/// <summary> /// IE-compatible version for Coypu's <see cref="BrowserWindow.CancelModalDialog"/> method. /// </summary> /// <param name="window">The <see cref="BrowserWindow"/> on which the action is performed.</param> /// <param name="browser">The corresponding <see cref="BrowserSession"/> (internally required for IE-fixes).</param> public static void CancelModalDialogFixed([NotNull] this BrowserWindow window, [NotNull] BrowserSession browser) { ArgumentUtility.CheckNotNull("window", window); ArgumentUtility.CheckNotNull("browser", browser); // Note: currently we have no IE-specific compatibility requirements. window.CancelModalDialog(); }