LPS-37667 Fix repeated and ids and issue with alert classes