workspace: Skip closed items that cannot be reopened (#56299)