Fix desktop app termination with open modeless dialogs
Fix desktop app termination with open modeless dialogs

When modeless dialogs were open (such as tx details) the app would not terminate.
nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official