added confirm dialog while completing the quiz