title: how to close view template in Rails 3
body: <p>I have opened the view template as popup by using the following code:</p>
  
  <pre><code>    &lt;%= link_to 'New User', "/users/new", :method =&gt; :get, :target =&gt; "_blank" %&gt;
  
       controller code:
  
       def new
      render :layout =&gt; false 
       end
  </code></pre>
  
  <p>the new.html.erb is having few textboxes and buttons as Save and Cancel</p>
  
  <p>My problem is how can i close the popup upon clicking Save or Cancel button?</p>
  
  <p>Thank u,
  Sudhir C.N.</p>