Got modal dismiss button(s) working properly

Had to circumvent Bootstrap to do it (probably a good thing)