window: add #close
Merge pull request #3 from opal/window-close

window: add #close