add popup menu on document tree with copy actions