swap radiobutton and input when adding attributes/facts