before trying to get a pop up for date picker