diff --git a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php
index 7ee40f4..9861259 100644
--- a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php
+++ b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverview.php
@@ -8,6 +8,11 @@
 namespace Drupal\field_ui;
 
 use Drupal\field_ui\OverviewBase;
+use Drupal\Core\Ajax\OpenModalDialogCommand;
+use Drupal\Core\Ajax\CloseModalDialogCommand;
+use Drupal\Core\Ajax\InsertCommand;
+use Drupal\Core\Ajax\PrependCommand;
+use Drupal\Core\Ajax\AjaxResponse;
 
 /**
  * Field UI display overview form.
@@ -403,6 +408,11 @@ public function buildForm(array $form, array &$form_state) {
     $form['#attached']['drupal_add_tabledrag'][] = array('field-display-overview', 'order', 'sibling', 'field-weight');
     $form['#attached']['drupal_add_tabledrag'][] = array('field-display-overview', 'match', 'parent', 'field-parent', 'field-parent', 'field-name');
 
+    // Add container to hold elements rendered in modal form. These need to be
+    // inside the <form> tag so they are submitted when AJAX data is posted.
+    $form['modal'] = array(
+      '#markup' => '<div id="drupal-modal">&nbsp;</div>',
+    );
     return $form;
   }
 
@@ -548,7 +558,10 @@ public function multistepAjax($form, &$form_state) {
       case 'edit':
         $updated_rows = array($trigger['#field_name']);
         $updated_columns = array('format');
-        break;
+        $markup = drupal_render($form['fields'][$trigger['#field_name']]['format']);
+        $response = new AjaxResponse();
+        $response->addCommand(new OpenModalDialogCommand(t('Edit formatter settings'), $markup));
+        return $response;
 
       case 'update':
       case 'cancel':
@@ -571,6 +584,13 @@ public function multistepAjax($form, &$form_state) {
     }
 
     // Return the whole table.
-    return $form['fields'];
+    $response = new AjaxResponse();
+    $response->addCommand(new CloseModalDialogCommand());
+    $response->addCommand(new InsertCommand(NULL, drupal_render($form)));
+    $status_messages = theme('status_messages');
+    if (!empty($status_messages)) {
+      $response->addCommand(new PrependCommand(NULL, $status_messages));
+    }
+    return $response;
   }
 }
