put full paths into text input and trigger select() on clicking