correct terminate window behavior when Composite depends on other
Composite