bug #3192: Define form action after reseting