Add a copy button to the math popover