private void ErrorDialogDismissed(object sender, AlertNotificationForm.DismissedEventArgs e) { // if the error dialog was manually dismissed by the user, consider that an acknowledgement of all alerts if(!e.AutoDismissed) { _alertContext.AcknowledgeAll(); } }