AMBARI-8740. Alerts UI: some minor clean up. (xiwang via yusaku)