popup: doesn't invalidate zIndex when anchor set while popup is hidden (close #1214)

close #1214
no difference)
Is there any z-indexes not in css?