EMCS-6518: Open document in office. Show popup when read-only, ranking update