adjusted the module visibility functionality to have the button be disabled rather than hidden