add an anchor reference to open a given resource