[jQuery] BlockUI Auto-Unblock

[jQuery] BlockUI Auto-Unblock


I am trying to get blockUI to display a temporary alert that will last
for X seconds and then automatically unblock. I have be $^%$@#@'ing
around with the pause plug in but I have never been able to get that
thing to work at all.
I am also using the forms plugin to process the form. Here is the code
so far.
$('#rapidcontact').ajaxForm(function() {
    $.blockUI({message: '<h1>Your message has been sent</h1>', baseZ:
25});
    $.pause(2000, 'fx').unblockUI();
});