implements #12
#12 Add a message box in the example to show how to handle out of the document definition