Dismiss the confirmation dialog as soon as the user confirms instead of waiting for the API call. Show the item grayed out with pointer-events disabled while deletion is in progress. Auto-select the previous (or next) worktree when the selected one is removed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>