Added basic analytics for modal dialogues