Retab notes view.
Call closeEditor instead of storeText on close

Prevents trying to save with no editor open. This was throwing an
exception and preventing any further notes from saving.

closes #65