Store the current selection in the location hash.