improved the experience for copying to clipboard