Add Undo/Redo to InputTextWidget

Small improvements:
- Disable Actions if they can't used (i.e. nothing to copy)
- Don't allow to copy an empty sting
- Add icons