I guess you can edit the JavaScript to restart the timer. But I don't know how to do it at this moment.
Or, you can set the timer macro to run another macro before it closes the HTML prompt window. The second macro executes this timer macro to restart the timer.