Update or close tier-editor when selection changes.