implementation of edit mode

Wiring up opening the edit view of a note. Still need to implement the
update work flow.