Add runUi to dialog examples