CMS-4714 Principal Wizards - WizardPanel failed to initialize properly

Fixed the close dialog bug, when closing the new, not modified userItem.
Fixed bug with Principal wizard panel initialization for new, when
selection is on principal.
Merge pull request #1098 from enonic/CMS-4689

CMS-4714 Principal Wizards - WizardPanel failed to initialize properly