Create fields for modal dialog