openWindow should resolve the promise if the dialog opens or reject if it fails
fix bug where the uuid for the state is not set
added info about authorize() promise
update changelog to v0.5.1