adds assertion that gps prompt exists before it is closed