Fixed export to xml from editing screen