Add download button to dynamic plots