Using Dialog Instead Of View For Gridview Updates


I’m relatively new to Yii and I’m asking for some help for the best approach to using a dialog to modify some data thats in a GridView. Here is a screenshot for reference:


Screen Shot 2013-05-20 at 4.57.49 PM.png

So what I’d like to do is set it up that when the user clicks the view or update buttons to the left of each row that a dialog will pop-up instead of the default “go to new view” that Yii seems to favor. The goal is that the grid will always be visible and the user can make changes to an individual record as needed.

Is there a way to do this? I’ve tried to do a render and render partial to create the dialog but each time I’m taking to a blank view that displays JUST the dialog.

Thanks for your help.