A few years ago I had a foster who had doggy dementia and he did the exact same thing. He's walk himself into a corner and just stand there staring at the wall. You need to be careful with things like allowing Louie to be up on the bed. He will just talk right off the edge

I hope that you are able to get some answers from your appointment today.