Answers.Body: <p>I'd rather look into nesting Super Table fields within your Matrix block types than relating Entries. The Entry element type and its relationship field come with a lot of inappropriate UI for the use case you're trying to solve.</p>
  
  <p>Another approach would be to write a plugin that provides its own element type and relationship field / modal UI.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-19T02:03:25.287Z
Answers.LastActivityDate: 2016-02-19T02:03:25.287Z
Answers.UserDisplayName: carlcs
Body: <p>For a complex website we have nested a relation field inside a matrix.</p>
  
  <p>It makes little sense for us to show the list of already created entries so we would prefer to directly display the new entry modal when clicking on a relation field. Our goal is to facilitate the editors lives and thus avoid multiple modal nesting... (See below).</p>
  
  <p>Thank you in advance for your advice. Peace.</p>
  
  <p><a href="https://i.sstatic.net/TArlY.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TArlY.jpg" alt="enter image description here"></a></p>
  
Tags: <plugin-development><matrix><relations>
Title: Display a new entry modal when clicking on a relation field
ThreadText: # Display a new entry modal when clicking on a relation field
  
  (Asked by: username_0 on 2016-02-18)
  
  For a complex website we have nested a relation field inside a matrix.
  
  It makes little sense for us to show the list of already created entries so we would prefer to directly display the new entry modal when clicking on a relation field. Our goal is to facilitate the editors lives and thus avoid multiple modal nesting... (See below).
  
  Thank you in advance for your advice. Peace.
  
  [![enter image description here](https://i.sstatic.net/TArlY.jpg)](https://i.sstatic.net/TArlY.jpg)
  
  **Tags:** plugin-development, matrix, relations
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-02-19. Score: 3 | Accepted answer
  
  I'd rather look into nesting Super Table fields within your Matrix block types than relating Entries. The Entry element type and its relationship field come with a lot of inappropriate UI for the use case you're trying to solve.
  
  Another approach would be to write a plugin that provides its own element type and relationship field / modal UI.
  
  
  ---
  
  