Fixed a bug on closing.
Can now press Ctrl+S for note items in the main window as well as the DetachableTextboxWindow.