Target
You can close this pop-up box by clicking anywhere on screen but not the this area. Because this element has been excluded from triggering the event.
new Toggling({
trigger: '#trigger_popup',
target: '#target_popup',
handler: function() {
this.addClass(this.target, 'active');
}
});
new Toggling({
trigger: '#target_popup',
target: 'self',
excluded: '.content',
handler: function() {
this.removeClass(this.target, 'active');
}
});