making copy to clipboard and clipboard add panel work