remove marks for closed windows