Display error in dialog instead of alert box

Test - Simulate different common errors

Test - Simulate error occurs in dialogbox
This is inside a dijit.Dialog

Test - Simulate multiple errors returned from multiple deferred objects. Error message is displayed one after another. The errors are "Mail Service down", "timeout". You should check "Display error in dialog" to test this

Test - Simulate error returned from a async deferred object with caller's own error callback with and without calling iwc.error.cancel

Test - Simulate error returned from a sync deferred object with caller's own error callback with and without calling iwc.error.cancel