better js ux for delete entry