minor fixes in dialog