Search/Replace selection only

I would like to be able to select a treenode, use Edit|Search & Replace and in the dialog have the option to check "Selection".

The search/replace should then only search in the selected treenode and subnodes.