Adds editor for value to the dialog.
value
dialog
to which edit control will be added
initial value that will be edited