Double-click triggering edit mode redundantly+solution

I think the best thing here may be a refactor.  Right now what happens is a separate event is set up for each slot to trigger double click editing.  I think what should happen is that there should be one event for the whole page, and that when the event is called, we navigate outward from the location of the double-click event until we find a tag or attributes that we know what to do with.  If it's an edit box, then we discard, if it's a slot id, then we edit, etc.