implemented copy on click for view link