Fixed a silly error with the close button