Spoil "Evan Almighty" for me

It was playing on the plane from Houston last night – didn’t watch it, but catching soundless glimpses every few minutes was enough to get the gist. I have a couple of questions, though –

I gather Steve Carrell was a politician of some sort – what were the hearings about? And what was John Goodman’s role?

At the end, I looked away for a few minutes – so missed what passed for a denouement. It turned out to be “only a dream”?

What was the song that Steve Carrell and Morgan Freeman were dancing to at the end?

TIA.

This link should explain it all.

Evan Almighty Summary

Thanks – I always forget about that site. I’ve bookmarked it now.

God did it.

This thread does a good job summarizing it.