date picker stuff and alerts