jQuery.extend override

jQuery.extend overrode the default config settings, so several calls to
modal will mix all the config values messing all up.

solved by passing var as object to be mixed with the deault settings and
the user settings