fixes to confirm delete. undo still needed