A simple calendar real-life example. Select the date, and the calendar will hide, and you'll have the date populated into the textbox