It is very common to close a window with ctrl+w shortcut. Unfortunately, it's not working in GNOME notes.