Overlay div added. Display none by default. Must add show() and hide() as functions to make it work.
Whoops, forgot to add a z-index to the overlay so that it definitely sits on top of everything else when it's called. All modals must be 100+; advise 200.