Calendar popup work