use same signature as window.prompt
zip