Make copy button work.