Added confirmation dialog to exit active games