Complex sentence: Mr. Corrado buys Julie a ginger ale, Hannah takes a picture of it and they leave but not before Julie spots her mother dancing on one of the tables.
Split into simpler sentences: Mr. Corrado buys Julie a ginger ale, Hannah takes a picture of it and they leave. But not before Julie spots her mother dancing on one of the tables.