validate saving a quiz