got version modal popping, code is messy!
modals etc. work reasonably well, still needs some work