Fix conflict with share modal

Closes #398