Hide popup when user click on copy old text button