A very simple example of how to deal with "before flight time" error using a dialog box.