Added rudimentary completion for some fields of the add dialog.