The appeals court did, however, affirm the dismissal.