improve layout in add attribute dialog