-fix key restore selection dialog to take selections into account