If I understand correctly, you can use a Global Variable to store the title text. Then, when the browselayout start, you can get the text stored inside the Global Var and associate to the textbox you are using.
You can use arrays or even dictionary to do this.
Im not a programmer, but I think this solve your problem