Refresh documents list on closing the editor