Added code to handle wizard closing via the X button.
Added code to handle wizard closing via the X button.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch