Improved aesthetics of modal display.  If you click on the active modal it still creates multiple modals though.
Additional files for last commit