accept null or undefined from prompt()s