Only save last 20 modified states