fix problem of overlay reopening immediately after closing it
only open a new dialog on click, and not on refresh of the tree
Merge pull request #31 from symfony-cmf/fix-reopening-overlay

Fix reopening overlay