fixed prompt.

prompt was showing up when cancel option was clicked while entering the
pw.