warningContinueCancel -> error
Since there's only one choice in the dialog, no need to show two buttons. This also quiets a static analysis warning about not checking the return value.
Since there's only one choice in the dialog, no need to show two buttons. This also quiets a static analysis warning about not checking the return value.