Reworked Javascript and CSS for creating modal dialogs. Now easy to create dialogs that are styled like panels.
Renamed patient_close.png to close.png so it can be used elsewhere