Spinning beachballs on dialogs

Often times I’ll execute a bit of applescript along the lines of

choose from list {etc.}

But when it runs, the cursor turns into a spinning beachball. It doesn’t revert back to a normal cursor. However, the dialog is still clickable.

Is there a workaround for this?