fixed ajax dialog error message