avoid broken navigation link (ajax link or  target="_blank")