Fixed bug when 'incorrect password' window was covered by new password window
Default buttons for dialogs are set