TextBox is disabled if there is no selected path part