added dialog and toast

Trouble is a friend, but trouble is a foe.