add close button to web setting dialog