Removed unused code from TweetDialog