fixed return undefined in assetpathdialog

reset assetpath on "offtrack"