Add an unsaved method to persistence, hook up the new notebook button to a confirmation dialog.
Prompt the user when changing sidebar item.
Switch boolean flag.
Properly bind function.
Change warning message when user attempts to create a new notebook or switch notebooks without saving first.
Merge pull request #241 from mulesoft/save-prompt

Save prompt