Fixed bug with close-button hidden