add dialog title and toast