Auto opening Chests/Vendor no closing when walking away

Hi everyone I am having some trouble with this Events. The first part works find the vendor inventory opens. But once I move away from it it still remains on the screen. The Vendor is a external layout. which hides at the begining but once I press e on the object it appears but then doesn’t go away and just stays there. Could really use the help.

Regards GNOStudios.

The problem is the inverted pick nearest doesn’t do what you are hoping (pick all but the nearest).

I’d look at a solution along the lines of: