bugfix: popup instance was recreating