-fixed pointer->memory access bug
-added open dialog functionality in order to update view
-ToDo next: reload functionality