Fixed small dialog csv bugs