Popping up a warning dialog on every track deletion would probably be a nuisance to a lot of users. Especially if you want to erase a series of tracks. As you said, using undo in the few cases where you delete tracks by accident, is in my opinion to be preferred over showing confirmation dialogs for each delete.