Fix the end-of-study dialog.
Only log hiding the overlay if it was actually open in the first place...