There is always going to be a divide between people who have done restaurant closings and those that haven’t. Some people who haven’t done it will not see any issue with showing up 10 minutes to closing and ordering everything on the menu. You can’t change their minds.
The last time I was traveling and absolutely had no choice but to go into a Chiplote 20 minutes to closing (it was the only place for miles still open), I made sure to be flexible about only asking for things that hadn’t been put away already. I ended up getting what seemed like quad portions and free chips. Be nice to servers and they are nice to you.