Displays a error message box, with up to three buttons. Returns the index of the button that the user clicked.
Referenced by: