machines: Add a dismiss handler for state errors in overview card (#14990)
machines: Add a dismiss handler for state errors in overview card (#14990)

An state error icon was missing a dismiss handler. Therefore an error
could no tbe dismissed from overview card even if it was already fixed.

Closes #14990
deryni/cockpit,garrett/cockpit,deryni/cockpit,martinpitt/cockpit,deryni/cockpit,cockpit-project/cockpit,deryni/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,mvollmer/cockpit,garrett/cockpit,cockpit-project/cockpit,garrett/cockpit,mvollmer/cockpit,deryni/cockpit,mvollmer/cockpit,deryni/cockpit,garrett/cockpit,martinpitt/cockpit,martinpitt/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,deryni/cockpit,cockpit-project/cockpit,garrett/cockpit