inactive popup elements fix