lets only show the connect UI if the container is running. fixes #1784