Replaced ugly error message (R_ERR_25) on detail page with an alert box