Update dialog display and return code depending of request version.
Merge pull request #434 from Xele02/master

PSPMsgDialog return value