I disabled the default .expose() closeonclick function because i want to close it with button. The problem is i cant find the code how to properly close it.
$('#button').on('click',function(){ ...? });
Just call on button click:
$.mask.close();
JSFiddle