Minor refactor in dismissing dialog that was shown by witnessdialog
Minor refactor in dismissing dialog that was shown by witnessdialog

nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official