This code is a sample of a custom made dialog box