adding react modal for clipboard text. fixes and puts back
copyhistorytoclipboard command