window: Confirm close of Gypsum if there are any connections, same as closing tabs