Save the window.name on removeItem();