fix close button

[fixes #12]