beautify the add entry dialog.