def METHOD_NAME(self):
    load_button = QPushButton(self)
    load_button.setText("Load Plugin")
    load_button.clicked.connect(self._on_load_clicked)
    self.main_layout.addWidget(load_button)
    self._init_plugin_list()
    buttons = QDialogButtonBox(parent=self)
    buttons.setStandardButtons(QDialogButtonBox.StandardButton.Cancel | QDialogButtonBox.StandardButton.Ok)
    buttons.accepted.connect(self._on_ok_clicked)
    buttons.rejected.connect(self.close)
    self.main_layout.addWidget(buttons)