improved copy to clipboard using the context menu