AMBARI-8622. Alerts UI: Enabling/Disabling alert-definitions takes too long