added dialog, jsonparser