can now save normal text data
added support for number as attribute and processing of data to
transform the data to its approriate type
automatically reloads main window and closes the window for editing
the object