Disable draft and edit links during ajax calls

STUD-1485
STUD-1499