Fixes to close button.