This sample shows you how to create a modal igDialog.