[datatables] Add support for state saving