src: added init of dialog with preset values