Update dialog_sample.rb

split create_menu to make it even more simple