change the name of initial functions in dialogs.rb