Bugfix in pat-validate.
Bugfix in pat-validate.

Catch the click .close-panel event and prevent it from bubbling up when
validation fails.

Otherwise the modal in which the form is in will be closed immediately without
validation.

garbas/Patterns,garbas/Patterns,janga1997/Patterns,garbas/Patterns,janga1997/Patterns,janga1997/Patterns