Hi @evinasco
Please refer to this answer of mine and let me know if this helps. My requirement was a little different but I guess it will serve your purpose.
https://answers.splunk.com/answers/749857/how-to-make-a-second-download-button.html#answer-749318