I even bought a tee shirt for my nephew and a six-pack of microbrew at one restaurant. Ding! It posted as a separate dine. Some here have posted about going to a restaurant, having a couple of drinks or whatever at the bar, closing the account with the appropriate credit card, then divning and closing THAT bill out - before deciding dessert and cappuccinos would be good also.
I am not necessarily advocating this, I am merely repeating what others have posted, and my own experience.