Added message box on abort or JS exception.