Fixed close button enable/disable.