changes to fix the 3021 bug. When the user tries to choose a root directory, the dialog explaining that doesn't show up anymore.
Merge pull request #3026 from albualexandru/bug3021

changes to fix the #3021 bug.