title: Open a new page as modal window
body: <p>I have the following code, how can I open another page as modal window popup if row exist?</p>
  
  <pre><code> function editLesson(){
              var row = $('#dg').datagrid('getSelected');
              if (row){
               // would like to open another page as modal window
  
              }
          }
  </code></pre>
  
  <p>Any help is highly appreciable.</p>