model() method to open a form, populate its defaults with model attributes and read out session errors