cannot find jsoneditor element from popup ctrl