Turn on state saving for datatables.
I'm not sure to what extent this will do what we want, but it's
the obvious place to start.