tweaked the module to automatically display/hide when a module is activated/deactivated