[web] metrics module: rework the 'Download CSV' button GitOrigin-RevId: ab15513e7c49098716207ecf4d0ff893692c3de6