popup: show/hide popup on change owner visibility