Don't give cancel/x if no primary

refs #362