show loader in classifying, refresh entity list and previed document after the response