diff --git a/entity_browser.module b/entity_browser.module
index b3b7dd0..4d7e3e9 100644
--- a/entity_browser.module
+++ b/entity_browser.module
@@ -145,3 +145,33 @@ function entity_browser_file_validate_image_resolution(FileInterface $file, $max
 
   return $errors;
 }
+
+function entity_browser_entity_type_build(array &$entity_types) {
+  $form_modes = \Drupal::service('entity_display.repository')->getAllFormModes();
+  foreach ($form_modes as $entity_type => $display_modes) {
+    foreach ($display_modes as $key => $mode) {
+      if ($mode['status']) {
+        $class = $entity_types[$mode['targetEntityType']]->getFormClass('edit');
+        $entity_types[$mode['targetEntityType']]->setFormClass($key, $class);
+      }
+    }
+  }
+}
+//
+// function entity_browser_entity_type_alter(array &$entity_types) {
+//   /** @var \Drupal\Core\Entity\EntityDisplayRepository[] $display_modes_list */
+//   $form_modes = \Drupal::service('entity_display.repository')->getAllFormModes();
+//   foreach ($form_modes as $entity_type => $display_modes) {
+//     /* @var \Drupal\Core\Entity\EntityTypeInterface $entity */
+//     $entity = $entity_types[$entity_type];
+//     foreach ($display_modes as $machine_name => $form_display) {
+//       if ($machine_name != 'register') {
+//         // Get the correct canonical path to add operation.
+//         $path = $entity->getLinkTemplate('canonical') . "/$machine_name";
+//         $default_handler_class = $entity->getHandlerClasses()['form']['default'];
+//         $entity->setFormClass($machine_name, $default_handler_class)
+//           ->setLinkTemplate($machine_name, $path);
+//       }
+//     }
+//   }
+// }
diff --git a/entity_browser.routing.yml b/entity_browser.routing.yml
index e88bef5..fe5e429 100644
--- a/entity_browser.routing.yml
+++ b/entity_browser.routing.yml
@@ -2,9 +2,10 @@ route_callbacks:
   - 'entity_browser.route_subscriber:routes'
 
 entity_browser.edit_form:
-  path: /entity_browser/{entity_type}/{entity}/edit
+  path: /entity_browser/{entity_type}/{entity}/edit/{form_mode}
   defaults:
     _controller: '\Drupal\entity_browser\Controllers\EntityBrowserController::entityBrowserEdit'
+    form_mode: 'default'
   requirements:
     _entity_access: 'entity.update'
   options:
diff --git a/src/Controllers/EntityBrowserController.php b/src/Controllers/EntityBrowserController.php
index aebb4be..14db491 100644
--- a/src/Controllers/EntityBrowserController.php
+++ b/src/Controllers/EntityBrowserController.php
@@ -10,6 +10,7 @@ use Drupal\Core\Form\FormState;
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\entity_browser\Ajax\ValueUpdatedCommand;
 use Symfony\Component\HttpFoundation\Request;
+use Drupal\Core\Entity\Entity\EntityFormDisplay;
 
 /**
  * Returns responses for entity browser routes.
@@ -28,13 +29,14 @@ class EntityBrowserController extends ControllerBase {
    *   An Ajax response with a command for opening or closing the dialog
    *   containing the edit form.
    */
-  public function entityBrowserEdit(EntityInterface $entity, Request $request) {
+  public function entityBrowserEdit(EntityInterface $entity, $form_mode, Request $request) {
     // Build the entity edit form.
-    $form_object = $this->entityTypeManager()->getFormObject($entity->getEntityTypeId(), 'edit');
+    $form_object = $this->entityTypeManager()->getFormObject($entity->getEntityTypeId(), $form_mode);
     $form_object->setEntity($entity);
     $form_state = (new FormState())
       ->setFormObject($form_object)
       ->disableRedirect();
+
     // Building the form also submits.
     $form = $this->formBuilder()->buildForm($form_object, $form_state);
 
diff --git a/src/Plugin/Field/FieldWidget/EntityReferenceBrowserWidget.php b/src/Plugin/Field/FieldWidget/EntityReferenceBrowserWidget.php
index df00ccc..b75c1cd 100644
--- a/src/Plugin/Field/FieldWidget/EntityReferenceBrowserWidget.php
+++ b/src/Plugin/Field/FieldWidget/EntityReferenceBrowserWidget.php
@@ -7,6 +7,7 @@ use Drupal\entity_browser\Element\EntityBrowserElement;
 use Symfony\Component\Validator\ConstraintViolationInterface;
 use Drupal\Component\Utility\Html;
 use Drupal\Component\Utility\NestedArray;
+use Drupal\Core\Entity\Entity\EntityFormDisplay;
 use Drupal\Core\Entity\ContentEntityInterface;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Drupal\Core\Field\FieldDefinitionInterface;
@@ -111,6 +112,7 @@ class EntityReferenceBrowserWidget extends WidgetBase implements ContainerFactor
       'open' => FALSE,
       'field_widget_display' => NULL,
       'field_widget_edit' => TRUE,
+      'field_widget_edit_form_mode' => 'default',
       'field_widget_remove' => TRUE,
       'field_widget_display_settings' => [],
       'selection_mode' => EntityBrowserElement::SELECTION_MODE_APPEND,
@@ -164,6 +166,23 @@ class EntityReferenceBrowserWidget extends WidgetBase implements ContainerFactor
       '#default_value' => $this->getSetting('field_widget_edit'),
     ];
 
+    if ($this->getSetting('field_widget_edit')) {
+      $bundles = $this->fieldDefinition->getSetting('handler_settings')['target_bundles'];
+      $formDisplays = $this->entityTypeManager->getStorage('entity_form_display')->loadByProperties(['targetEntityType' => $target_type, 'status' => true, 'bundle' => $bundles]);
+      $formModes = [];
+
+      foreach ($formDisplays as $plugin_id => $definition) {
+        list($form_entity_type, $form_entity_bundle, $name) = explode('.', $plugin_id);
+        $formModes[$name] = $name;
+      }
+
+      $element['field_widget_edit_form_mode'] = [
+        '#type' => 'select',
+        '#options' => $formModes,
+        '#default_value' => $this->getSetting('field_widget_edit_form_mode')
+      ];
+    }
+
     $element['field_widget_remove'] = [
       '#title' => $this->t('Display Remove button'),
       '#type' => 'checkbox',
@@ -506,6 +525,7 @@ class EntityReferenceBrowserWidget extends WidgetBase implements ContainerFactor
                   'entity_browser.edit_form', [
                     'entity_type' => $entity->getEntityTypeId(),
                     'entity' => $entity->id(),
+                    'form_mode' => $this->getSetting('field_widget_edit_form_mode')
                   ]
                 ),
                 'options' => [
