create dialog builder. PS: tutorial stage1_1 is broken