IDE-1318 only prevent wizard/dialog from closing if there are errors
warnings are ok.
Fix breaks in sapphire API
IDE-1312 apply same logic to adt wizard
IDE-1322 rollback changes now with upgrade sapphire fix
IDE-1322 rollback calls to SafeSapphireDialog
IDE-1323 automatically update context-root property