In fact, if you customise the code, it is perfectly possible to remove this pop-up while still having the quiz work. You just that you have to do it right.
The problem with removing this confirmation, is that some students will accidentally submit the quiz without meaning to. This is much, much worse that students having to make one extra click to be sure they want to submit. Hence the current UI design.