def METHOD_NAME(self, request: CustomStudyRequest) -> None:
    # keep open on failure, as the cause was most likely an empty search
    # result, which the user can remedy
    custom_study(parent=self, request=request).success(
        lambda _: QDialog.accept(self)
    ).run_in_background()