PHP: open resource dialog: use the selected text in the active editor as the initial filter