Added replace/append/cancel dialog to key file editor.