Cardinals get another hair-raising win over Dallas