kcms/keys: Handle the case of rejection in Prompt dialog
To reproduce the bug: 1.create a command shortcut 2.click edit button 3.Click outside the prompt 4.Click add command button
Observation: Edit command prompt appears
Expected observation: Add command prompt appears