Basic stylings for modal and ui.
Center scaling, fix onfocus bug.