improve asynch password dialogue