add close button and update demo