use event dispatcher for module activation in commands