Add custom event firing and catching to tabs; fix typo in modal 1 example.