hide composite modules when onhide