History panel: ensure tooltip deletion on hda view removal, add class selectors for primary action buttons; pack scripts