[SB2] Correctly de-parentize XSDs on settings dialog closing.