Update dialogbase.rb