Adam/disable links during ajax calls

@zubair-arbi can you take a first look?