trying to make the copy button work on an extension