add clipboard listeners to uml diagrams