create directory selector