Add the close button to the spectrum window