Hi,
You can find simple busy dialog example here on JSBIN -> JS Bin - Collaborative JavaScript Debugging</title> <link rel="alternate" type="application/jso…
But, please note that you need to adjust snippet above. As far as I understood BusyDialog should be closed when OData is fetched - in this case you should use callback.
In case it is still not clear, please share your "okButton" function I will show you how to do that.
Cheers.
Vladimir