Your ex may being nice because she wants something. But sometimes exes are simply cordial. I'm cordial with my ex, but it doesn't mean anything other than we've decided to be cordial with one another. And there may be an element of guilt driving her to be nice. I'm happy to hear how you responded though.