new dialog and toast