Set export button only if a session exists