LCL, implements application.ExceptionDialog property as an option to choose what kind of exception dialog handler the user wants: a simple message box or dialog with ok/cancel button, issue 23243

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46574 4005530d-fff6-0310-9dd1-cebe43e6787f