Cancel adding a Page in PageModel - hookPageCreate

Sorry for the late reply.

According to my tests the problem can be solved in hookPageCreate as follow:

    try {
      $page->changeSlug(Str::slug($vorname . '-' . $nachname));
    } catch (Kirby\Exception\DuplicateException $e) {
      $page->delete(true);
    }