Added event.stopImmediatePropagation(); when validation is failed.