var win = open(path + 'dialog/plinn_image.html', 'PlinnImageDialog', winOptions);
win.dialogArguments = new Object();
win.dialogArguments.editor = editor;
var win = open(path + 'dialog/plinn_image.html', 'PlinnImageDialog', winOptions);
win.dialogArguments = new Object();
win.dialogArguments.editor = editor;