An alternative to javascript prompt() using jqueryui