Add callbck errorCallback for image and ajax popup types to support error status codes

Errors are not appropriately handled or passed down to the calling action. I created a callback that will allow for the caller to determine that an error happened within jQuery.load and react to it.