classes/fields/pick.php
public function admin_modal_bail( $item_id, $item_title, $field_args ) {

		$model_data = $this->build_dfv_field_item_data_recurse_item( $item_id, $item_title, $field_args );
		?>
			<script type="text/javascript">
				window.parent.jQuery( window.parent ).trigger(
					'dfv:modal:update',
					<?php echo wp_json_encode( $model_data, JSON_HEX_TAG ); ?>
				);
			</script>
		<?php

		die();

	}
public function admin_modal_bail( $item_id, $item_title, $field_args ) {

		$model_data = $this->build_dfv_field_item_data_recurse_item( $item_id, $item_title, $field_args );
		?>
			<script type="text/javascript">
				window.parent.jQuery( window.parent ).trigger(
					'dfv:modal:update',
					<?php echo wp_json_encode( $model_data, JSON_HEX_TAG ); ?>
				);
			</script>
		<?php

		die();

	}
public function admin_modal_bail ( $ item_id , $ item_title , $ field_args ) { $ model_data = $ this -> build_dfv_field_item_data_recurse_item ( $ item_id , $ item_title , $ field_args ) ; ?>
			<script type="text/javascript">
				window.parent.jQuery( window.parent ).trigger(
					'dfv:modal:update',
					<?php echo wp_json_encode ( $ model_data , JSON_HEX_TAG ) ; ?>
				);
			</script>
		<?php die ( ) ; }
Bail to send new saved data back to our modal handler.

@param int    $item_id    Item ID.
@param string $item_title Item title.
@param object $field_args Field arguments.
Bail to send new saved data back to our modal handler .