[OSX] Close button to hide and dock icon to show