popup element improvements