Created a textDialog to handle the event Notes.