Modal window fix complete

...nes, transects and any other functionality that uses the modal window more than once will now be able to do so without fail