Fix sortable UI and delete action