I am trying to open either the simplenews subsription block or the corresponding form in a modal. I tried with both the form using the formBuilder service or the exising plugin-block and in both cases I can successfully load and display the subsription block/form in the modal. The problem now is, that when I enter an email address and try to subscribe i.e. submit the form it doesn't work. I am redirected to my controller ajax callback.
How can I make the form/block work correctly inside the modal?