Updated for https://www.drupal.org/node/1875996.
Fixed PHP notice if $form_state['values']['attributes']['data-entity-embed-display'] was not defined.