CMS-2156 TypeScript - ContextWindow - Removing a part should also deselect it from the inspector