History panel: remove href and target from disabled buttons