public static GenericObjectEditorDialog createDialog(Container parent){
  return createDialog(parent,null);
}

public static GenericObjectEditorDialog createDialog ( Container parent ) { return createDialog ( parent , null ) ; }
creates a modal dialog for the parent .
