I came across the same problem earlier, when trying to create a global way of notifying the user about timed out sessions in ajax-calls. It would be really handy if the global ajax-events would fire before locals.
I ended up doing modifications to the jQuery core to make this possible.