Adds links between two layouts