path change in enterTextDialog