Wrap everything in execModal. You can also have execModal inside execModal. So I think this should be enough:
await core.executeAsModal(
handleExecution,
{ commandName: "Creating a transformed layer..." }
)
Wrap everything in execModal. You can also have execModal inside execModal. So I think this should be enough:
await core.executeAsModal(
handleExecution,
{ commandName: "Creating a transformed layer..." }
)