submit dialog done