popup window now use json