Though she was sad, she smiled warmly and said goodbye to him.

Literal

Sad [although-けれど], she [topic-は] warmly smiled [then-て] him [to-に] goodbye [object-を] said.

にっこり笑って describes a warm smile followed by an action. ~けれど marks the concession. A bittersweet farewell scene.