Calendar popup remains on screen after making selection, even when going to a different page