Drupal Association members fund grants that make connections all over the world.
As you know support custom jquery ui dialog options, there is a bug if buttons are added to the modalframe.
The autoresize method is nor properly calculating the size, as it does skip the button pane.
I have attached a patch which does correct that ( patched against 6.x-1.6) . It does not affect "none buttons" dialogs.