exposes the showDialog box through the SearchReplace command

allows the dialog to be called from outside the editor
Merge pull request #237 from danransom/patch-3

exposes the showDialog box through the SearchReplace command