Fix createnewkeydialog and add a dialog asking whether to delete a queued not yet running job