Bugfixings and move dialog view to be archetype
Delegated rendering to views, fixed errormessages
Temp patch for entrust pending pull req