general update.
OK->Tested on the concept of get target dir files by using previous written recursive function in the project module when the dialog opens. Using socetio. -> can't I do it with normal ajax post, too?
Next->needs wrap up something in the manager.js -> goal: prevent global variables and send "selected dir" message to the server