add reset method to ModTable to clear the global state