add implementation for truncate button
implementation for edit and esc buttons
implementation for 'remove' button