x button works for links