code: def create_default_buttons(self):
      with gr.Row(elem_classes="edit-user-metadata-buttons"):
          self.button_cancel = gr.Button("Cancel")
          self.button_replace_preview = gr.Button(
              "Replace preview", variant="primary"
          )
          self.button_save = gr.Button("Save", variant="primary")
  
      self.html_status = gr.HTML(
          elem_classes="edit-user-metadata-status"
      )
  
      self.button_cancel.click(fn=None, _js="closePopup")
  
imports: import datetime
  import html
  import json
  import os.path
  import gradio
  from modules import generation_parameters_copypaste, images, sysinfo, errors, ui_extra_networks
label_desc: Use image node_id 5 for calling the UserMetadataEditor obj's underlying member method code with example usage: obj.create_default_buttons() without return types