As far as I know, there is no way to script the size of a custom dialog. My suggestion would be to simply reduce the amount of text.
Alternatively, you might want to look at third party solutions, like this one:
Or pop it up in a new window with the new window script step. You can specify window size and placement for this and there are scripted approaches to give it the same "modal" behavior as a custom dialog.