publisher closes when clicked anywhere outside its division after openin...

When the Publisher is opened on focus, upon click on anywhere outside the publisher will close the publisher.

Fixes the issue #3894