Basic close event added

`hide` or `close` parameter closes the modal properly. For example in Ajax request the following code is used to open and close the modal the show process of the Ajax request:
``` js
$(document).ajaxStart(function(){
    swal("Processing..", "Please wait until the process is done.");
});
$(document).ajaxStop(function(){
    swal('close');
});
```