Ivan,
Have you tried placing the javascript for showing the progress bar in your template? The event handler can then call a function which you can inject from your snippet using with:
net.liftweb.http.js.JsCmds.Function
I find that having the UI code in the template itself is a clean separation from the snippet and then the ajaxCall can then call a callback to hide the progress bar.
$("#load").click(function(){
$("#loadDialog").reveal();
loadEventsFromServer(function(){
$('#loadDialog').trigger('reveal:close');
});
});