Also make d delete the item currently selected (only happens if d is not a valid button, or you don't have TeX entry enabled.