Set initialModel in widget view and fixed debug error on form cancel delegate