fix popup to work for widgets, not just containers

the previous type was too restrictive
Merge pull request #60 from jverzani/patch-2

fix popup to work for widgets, not just containers