Observing Gamma-ray Bursts in Distant Galaxies