I need to record the path of a directory on the system, when the user clicks a button open a window and in that window it select the folder that wants to store the information. I tried doing using the input with type 'file' but it requires that it be a file