display resources tab only when module is active; fixes #7