Added callback functions for avoiding simultaneous editing of documents and documents lists (callback functions both call _manage_edit_state())