Run custom JS on modal window close

Wondering if there is currently an Adv Option to run a custom JS function on closing a regular modal window? I found this option for regular modal windows (which only applies when the modal opens)

  "modalsView": {
    "open": "demoProcessInitCallback"
  }

and also options to run functions on closing TI process modal windows.

"process": {
    "cancelCallback": "callbackFuntion",
    "statusNotifications": {
      "success": {
        "callback": "callbackFuntion"
      },
      "failed": {
        "callback": "callbackFuntion"
      }
    },
    "initCallback": "callbackFuntion"
  }

However, I haven’t found anything that will trigger a JS function on closing a non-TI modal window. If this option doesn’t exist, I’m happy to put in an enhancement request in BitBucket.

The primary use case is to combine this with an Excel Upload modal window. After an Excel upload, we would want the JS function to run a TI process on the just-uploaded data. Thanks!