Fixed issue with callback on alert boxes.