I have a selector that binds a click event which will remove the popup. However, I only want the selector to handle the click, instead of the children of the selector to be
In your event handler for #popup check if e.target == this. i.e.:
#popup
e.target == this
$('#popup').bind('click', function(e) { if(e.target == this) $(this).remove(); });
Doing this is much easier than binding extra click handlers to all the children.