delete modules which are dependencies if dependent mods are diabled