Window Helper
Opens a modal dialog containing the specified content. If ontent contains a hash, it will be used as the arguments in a call to render. Otherwise, it will be passed directly to the dialog.
This will open a modal dialog containing a partial named form. page.open_dialog :content => { :partial => ‘form’ }
This will open a modal dialog containing the specified text. page.open_dialog :content => ‘Hello!’
Note that it is up to you to provide your users a way to close the dialog!