Don't dismiss rename dialog until rename is complete

- draws error message in the same dialog, rather than triggering a new dialog via events.

- `Notebook.rename` returns the contents Promise, rather than registering its own error handler.

closes #6963