When iterating over all the stashed states, callback that will be issued per entry
Save the local modifications to a new stash
Loop over all the stashed states and issue a callback for each one
Remove a single stashed state from the stash list