better formating of the add/edit dialogs.