Temporary fix to remove error in HTML project. FilePicking will not
work.
Separated filepicking to open and save methods.
openNovel now returns the current novel after it has been opened.
Since fileDialog was split into openFile and saveFile, som small changes
had to be made
Handles fileOpening and correctly clears model before filling it.
Filepicking was separated into opening and saving file methods.
Added file open and file save event types
newDataObject was not set in the event. It was completely ignored.
Added clearModel() to make it possible for the controller to empty the
model before filling it.
Support for fileOpen and clearing the view.