Modal call Modal


I have a small problem.

In my web project I have one modal form, for examplo, called F1, with one textfield txTotal;
F1 calls F2 (another modal webform).

when I close F2 I would like to call one method in F1 to update txTotal; but I receive this error:

F2.btClose.Action, line 50
Static reference to instance method: call this on an instance of class F1.F1.

Well because you have to create another instance of that form first and then push the data to it or fetch the data from it I guess and then close it and update .

Implement the dismissed event for F2 on F1. Have a look at this example