Restore "Generate Key" feature in machine-add dialog