You can use the Drupal module Layout Builder Modal with the Dripyard theme. However, there is a known limitation: since no module is shipped with the theme, the modal does not invoke the active theme and instead loads the admin theme. As a result, some of our form-alter callbacks are not executed. You can work around this by adding the following code to a custom module, replacing my_module with your module’s machine name.
<?php
use Drupal\Core\Form\FormStateInterface;
use Drupal\dripyard_base\FormAlter\DripyardWrapperBlock;
function my_module_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$dripyard_wrapper_block = new DripyardWrapperBlock();
if ($dripyard_wrapper_block->applies($form, $form_state, $form_id)){
$dripyard_wrapper_block->alter($form, $form_state, $form_id);
}
}