Hi,
The answer is yes, this could be done. All you have do is add a defaultValue property to your field and initially it should be empty. Now you need to add a listener to the dialog which would capture the path and set it in the default value property of the dialog in the onsubmit event. This is one way of doing it.
Thanks
Tuhin