Added translate function to dialogs service to allow for translation of default strings