Collective Modes in a Unitary Fermi Gas across the Superfluid Phase Transition