Stop event propagation when dismissing popover controls

Here's the change I mentioned in the email to the list.  It fixes the problem I noticed, but I don' t know what other ramifications this might have.  I haven't done testing to find out.