Another widget promise bug fix

Resolve is undefined, instead return the view which resolves the promise.