The above will cause the dialogue box to be displayed in the centre of the application
window. If null is passed as an argument, then the dialogue box appears in the
centre of the screen.
The integer value returned may be compared with either of the following inbuilt
constants: