Fixed the close button to be disabled.