Set visibility manager closing status before hiding main window on exit.
Add sheet edit mode.
Update view when edit mode changes.
Enable rest button only in edit mode.
Enable trigger delete button only in edit mode.
Merge pull request #209 from kagu/edit_mode

Edit mode