We have a class called `enable-when-server-online` that can be applied to these buttons to do this automatically; it's in "updates/base.js", which may or may not be getting loaded here.

(similarly, to display stuff only when server is online, there is a `server-online-only` class, which will work globally, as the code to do that is in distributed-server.js)