make popups more predictable

Related to https://github.com/ArcBees/GWTP/issues/554
I'm a bit unsure here, if the child is visible, maybe onHide should be called even if onReveal is called 10 ms later? It may be confusing not to do so because the lifecycle may look like onReveal -> onReveal...