Pass the command listener to the document listener
Record the copy paste change origins