created save dialog
implemented feature to open xml file