fix password dialog display and show it for download action