Custom jQuery event for handling clicks outside of a DOM element.