Rename active_dialogs to activeDialogs.

It's not massively important, but my aim is to not use underscores in
JS identifiers eventually.