Add edit key dialog files. Fix some more details in keysController