This would functionally improve the modularity of the applescript that is run.
At present, we need to join+approve all users in a single action, and cannot directly use the "leave call" button, and instead have to rely on the window of the application being closed, which actually just happens to have the same functionality.