Fix rename notebook - show error with invalid name

Before the dialog was closing anyway so you couldn't see the error message.