fixes incorrect json syntax in package.json
adds allowClose option to disable click to close