Share modal between adding and editing paper