I just noticed that this next code should be merged with `ReplaceAllResults.prototype._addPanelListeners`. Depending on how Replace in Files will work, we should merge it here or there.