freezernick → created an issue.
I've attached a patch 3478879 that fixes the service arguments.
In our environment - I haven't tested it with a default install - we then ran into issues with circular dependencies. Patch 3478878_cd changes the dependency injection to be lazy which isn't best practice, but it should work for now.
freezernick → made their first commit to this issue’s fork.
Updated the patch file.
My installation order:
1.
https://www.drupal.org/files/issues/2023-08-22/once_deprecation-3350919-... →
2.
https://www.drupal.org/files/issues/2024-02-20/3356891-14.patch →
3.
https://www.drupal.org/files/issues/2024-06-10/prevent_modal_interaction... →
The provided patch(es) didn't work for us. Any interaction with a popup / modal resulted in the modal being closed.
Please note that the patch provided also includes Patch 3350919#25.