In this sentence, "before" is a subordinating conjunction. "Before the curtain rose" is a dependent sentence. With its subordinating conjunction, it joins the independent sentence by being smoothly contacted by its meaning. But without this independent sentence,"Nick came and took a bow", the dependent sentence cannot stay by itself. "Before the curtain rose" cannot stay by it self without an independent sentence joined together.