undo on paste, hide textarea on copy paste