If a path, no matter if local or https, is added to the DatasetSelectorDialog, the dialog behaves differently, if there is a trailing backslash in the path or not.
Behavior without trailing backslash:
local

https:

Behavior with trailing backslash:
local

https:
