Fixed bug: the same function was afflicting dialogs on both annotator and allographs page