delay onBeforeShow

Hi,

I’m loading a table via ajax in the onBeforeShow, how can I delay the
return till the data is loaded? I know I can issue a return false which will block, but how would I unblock after the ajax is finished?

-Thomas