Okay sorry,
I misread your original post and missed the dreaded word running a process. Anything that happens started in the process will open up a modal window and from there you cannot then push any outputt back to the standard visual perspective.
You could try something like:
Run the first query from a menu option using the run the query command this will bring the outputs into the standard visual perspective panel. On that query create an " operation to be use with this form" make that operation and run query and specify the second query using format that you already designed
The final output from this query should then go to a new tab.
I haven't tried this its just a suggestion hope it helps