Styled ambiguous relations menu

Fixes bug #1388877: Improved the appearance of the ambiguous relations menu.