Supersedes and closes #14370. Closes #14367.
Previously the file selector would potentially display off-screen, making for confusing UX. Closes #10942.