added deleting messages via Dialog