support for close/open into dock
typo fix
Merge pull request #1 from b3by/master

Added support for close into dock and reopen