add directory selector