trivial changes + index update

trivial white space changes to dbinterface.php
added some preliminary code for modals to index.php