Remove window from closure