get dialog input value