Save state as URL hash (fragment identifier).