Searching after selecting text should select "Selection in Current Document or Panel" automatically
If you select a text and press Ctrl-F or Ctrl-H to reach the Search dialog it could be set that "Look in:" points to "Selection in Current Document or Panel" since this is what you usually want to do....