Storing latestModified value to session/localStorage is stored when offline is enabled