Add delete icons in place of "Delete" links and buttons
Abstract out getActiveAlert to DRY up code