Initial version of SetKeyDialog.
Finished version of the dialog
Added a set key button and code to call a dialog box for setting the key