Avoid toggling edition mode when a link is clicked