Simply the interactive form in open-directory-in-external-browser.

Also, give this function a docstring.