If you never want those objects to trigger the blockui
call, don't place the event listener on them in the first place. Use jQuery's :not
selector:
$("a:not(.ui-multiselect-none, .ui-multiselect-all, .ui-multiselect-close)").on("click", $.blockUI);