Fix bug DNN-4597: update the text field with update value, because space char may replaced but the modified flag will not change to true. in this case we should update the value back so that it can create tab with new path.