adding a close button, issue #2