Remove window even if closing promise rejects
Remove window even if closing promise rejects

The closing promise rejects when the window is already closed.
In this case we still want to remove the window.

Bug: T76659
Change-Id: Idc87ae6089fa5521d36c20251f4ca54a2257b0ab

wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui