forward port 512742 and 512746 by wstephens:
forward port 512742 and 512746 by wstephens:

Fix https://bugzilla.novell.com/attachment.cgi?id=32275&action=view - crash when password dialog closed after kmail main window due to wrong parent
create dialog on the stack, as it's exec'ed - lesson #1042 from dfaure's curriculum :)


svn path=/trunk/KDE/kdepim/; revision=516005

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi