update css and switch to modern file system api

* Fixes dialog layout
* Uses New File System APIs