minor changes for dialog