Hook up old survey edit pages into new views.

The old survey edit views were replaced by new dialogue ones but now that we have the old survey views back we need to hook them up properly.

This follows on from #521.