Dynamically add a hide action to all alerts. If the sidebar link is clicked and errors are hidden, they are then displayed. Also allow sidebar links to propagate, so we can add multiple events to those links.
Merge pull request #618 from hudmol/allow-alerts-to-hide

[Delivers #52048235] Allow alerts to be hidden