Added language attribute support for pages and fixed potential conflict issue with relationID

Also added a "Detach From Group" button.