SaveDeviceComments now closes the window

Added close-window class to the button because the close class gave the
button a close symbol. The event for closing windows is now attached to
close-window.