Add close button to settings panel