How to close a form after calling analysis from HeaderButton?

How to close a form after calling analysis from HeaderButton?

@Erwin Hogeweg

Hello Tagoers,

I use the header buttons on a Form Widget to trigger an analysis. Works great, but after the button is clicked the form stays up, until the X in the header is clicked. I could make the form go away by calling a new URL from the analysis but that feels like overkill.

Is there a way to ‘just’ close the form once the Analysis is done. Either with or w/o return value?

Regards,

Erwin