add stop directive

Prevents propagation of events past the DOM element it is attached to