add select folder  directive