renumber windows sequentially after closing any of them