Add detail view; fix removal (remove by ID instead of index)