title: Where to put the modal layout and how to fill it with dynamic content
body: <p>I have got the following question.
  I have got an application built in ZF2. In some pages I have got a grid with some tabular info. Each line has got a button which should open a bootstrap modal and populate it with dynamic forms and data.</p>
  
  <p>Now here is my question. I want to have a plain modal with no content available everywhere and fill it with dynamic content. I don't want to define my base modal everywhere.</p>
  
  <p>I have seen some information in this link <a href="https://stackoverflow.com/questions/16192702/zend-framework-2-jquery-modal-dialog">Zend Framework 2 &amp; jquery modal dialog</a> but it doesn't totally answer my question because where do I put the basic modal layout?</p>