Correct DBEditorDialog working