We are using Drupal CMS to store the multilingual content and its served through custom APIs. We have a CMS GUI for content authors where they can view, search, filter, translate, add, edit and delete the content. We have done lots of customization in the CMS and also migration it from Drupal 7 to 8 and to 9.
Drupal 9.4. I am working on a module that reacts to managed_file events. On uploadAjaxCallback I wish to add a modal confirming some user intentions with a confirmation modal. The code is like the following...