Forgot to use vault_mode instead of mode in vault_show and vault_edit