Tried this and it didn't work. Perhaps it has something to do with the fact that the button we are trying to trigger is loaded from another widget. As I have mentioned, I embedded the Form Widget on a modal (which is a separate widget on itself).

 

I embedded the Form widget using:

<sp-widget widget="data.editform"></sp-widget>