Rule reminder
'Prima che' ALWAYS requires the congiuntivo. 'Finché non' takes congiuntivo in formal/written Italian, indicativo in spoken Italian. All other temporal conjunctions (quando, dopo che, non appena, mentre, ogni volta che, una volta che, nel momento in cui) take the indicativo.
Mentre _____ (dormire), qualcuno ha bussato alla porta.