disable navigation on <a> elements in edit mode