[Bug 253488] CWM problem with validated function (switching tree dialog)