Detect clicks on flags to show an alert that copies a message to the clipboard.