Populate text field with a value of other form

I think I understand that with behaviors it is possible to automatic save some fields data in db. But immagine two views, from one of this launching the other one. A view where, for example, to run a file upload view, load a file and then close the window returning to the first view. It is possible populate one data of the upload view in a field of first one? In the text box, meanings, non directly to db.

First view -> launch upload file view -> upload file -> on success close upload file view -> return to the first view filling a text box with path and nome file chosed with upload file view.