minor bug fix, define 'cell' in dialog.js.

Very minor fix...

The 'cell' variable in dialog.js isn't defined and causes an error in js console. 

I found this bug after renaming a notebook... the dialog box that pops up for a rename causes an error in my javascript console.