starting to fix a bug that seems to have fixed itself (in which the modal was getting stuck on screen)…leaving code place in case it comes back…