add danger classes on prediction edit