Add source dialog to the inline sample.