Fixed minor errors in the modal and schema