Adding undo option to deleting item via action mode.