Changed alert message to jqueryUI popup