paths dialog: use selection as default when adding new dirs