listen for 'paste' event